import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { MenuDetailController } from './menuDetail.controller'
import { MenuDetailService } from './menuDetail.service'
import { MenuEntity } from '../menu/entities/menu.entity'
import { FavoriteModule } from '../favorite/favorite.module'
import { AuthModule } from '../auth/auth.module'

@Module({
  imports: [
    TypeOrmModule.forFeature([MenuEntity]),
    AuthModule,
    FavoriteModule, // 导入收藏模块
  ],
  controllers: [MenuDetailController],
  providers: [MenuDetailService],
})
export class MenuDetailModule { }